include ../config.mk

dist_srcdir = InterfaceGenerator2
dist_FILES = \
	$(wildcard *.hs) \
	Makefile.in \
	$(NULL)

all: hoc-ifgen

hoc-ifgen:
	mkdir -p build
	$(GHC)  --make Main.hs	\
		-odir build -hidir build \
		-package-conf ../inplace.conf \
		-o $@
		
clean:
	rm -rf hoc-ifgen build

install: all
	echo "Interface Generator will be used in-place."

install-files:
	@true

